package ca.concordia.soen6461.wichf.controller;

public interface Condition {
	
	static class ConstantCondition implements Condition {
		
		private Boolean value;

		public ConstantCondition(Boolean value) {
			this.value = value;
		}

		@Override
		public boolean evaluate(Event event) {
			return value;
		}
		
	}
	
	static final Condition FALSE = new ConstantCondition(false);
	static final Condition TRUE = new ConstantCondition(true);

	boolean evaluate(Event event);
	
}
